package com.nbst.comnutil;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.context.annotation.Configuration;

/**
 * @Author: zhuchi
 * @Description:
 * @Date: Created in 下午4:01 2017/12/11
 */
@Configuration
public class serverConf {
    @Value("${server.name}")
    private String servername;
    
    @Value("${server.port}")
    private String port;
    
    @Value("${server.ip}")
    private String ip;
    
    @Value("${server.account}")
	public String account;
    
    public String getPort() {
        return port;
    }
    public String getServername() {
        return servername;
    }
    public String getIp() {
        return ip;
    }
    public void setIp(String ip) {
        this.ip = ip;
    }
	public String getAccount() {
		return account;
	}
	public void setAccount(String account) {
		this.account = account;
	}
	public void setServername(String servername) {
		this.servername = servername;
	}
	public void setPort(String port) {
		this.port = port;
	}
}
